
** Import raw data
infile using "$rawpath\NLSY79_noncognitive_mother\NLSY79_noncognitive_mother.dct", clear

** To get labels from raw data
run "$rawpath\NLSY79_noncognitive_mother\NLSY79_noncognitive_mother-value-labels.do"

tolower

rename r0000100 mom_pid

*keep women only
*keep if sex == 2
*drop military sample -- keep black/poor oversample for now
*drop if sample_id_1979 > 15
*line below kills the supplemental sample
*drop if sample_id_1979 > 8



save "$rawpath\000_NLSY79_noncognitive_mother.dta", replace

